package cate.common.table.trademall.oncefund;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

//@NoteClass(value = "交易坊-一次性基金 Row")
@EExcelRowClass(note = "交易坊-一次性基金 Row")
public class OnceFundCommonRow extends ERow {
    @EExcelNoteField(fieldName = "名称")
    public String name;
    @EExcelNoteField(fieldName = "类型")
    public int fundType;
    @EExcelNoteField(fieldName = "充值项ID")
    public int pay;
    @EExcelNoteField(fieldName = "期数")
    public int fundGroup;
    @EExcelNoteField(fieldName = "跑马灯公告",defaultValue = "0")
    public int lampId;
    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
//        id = xrw.getInteger("ID");
//        name = xrw.getString("名称");
//        fundType = xrw.getInteger("类型");
//        mailRewardStr = xrw.getString("邮件赠送");
//        mailId = xrw.getInteger("邮件ID", 0);
//        lampId = xrw.getInteger("跑马灯公告", 0);
    }
}
